package com.wujilin.okra.database;

import android.database.Cursor;

/**
 * The cursor handler.
 * 
 * @author Belin Wu
 *
 * @param <T> The type of result.
 */
public interface CursorHandler<T> {
	/**
	 * Handle the cursor.
	 * 
	 * @param cursor The cursor
	 * @return The result of handling
	 */
    T handle(Cursor cursor);
}
